package com.qf.cardlikeboot.mapper;

import com.qf.cardlikeboot.domain.Card;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
* @author 小鱼儿
* @description 针对表【card(名片表)】的数据库操作Mapper
* @createDate 2022-05-18 19:34:11
* @Entity com.qf.cardlikeboot.domain.Card
*/
public interface CardMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Card record);

    int insertSelective(Card record);

    Card selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Card record);

    int updateByPrimaryKey(Card record);

    @Select("select * from card")
    List<Card> selectAll();

    List<Card> selectByIds(List<String> idList);

}
